package com.ghy.service;

import com.ghy.dto.SeasonInsertDTO;
import com.ghy.dto.SeasonPageDTO;
import com.ghy.dto.SeasonUpdateDTO;
import com.ghy.vo.CourseSimpleListVO;
import com.ghy.vo.SeasonSimpleListVO;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.ghy.entity.Season;

import java.util.List;

/**
 * 季次表 服务层。
 *
 * @author ghy
 * @since 2024-12-22
 */
public interface SeasonService extends IService<Season> {

    boolean insert(SeasonInsertDTO dto);
    Season select(Long id);
    List<SeasonSimpleListVO> simpleList();
    Page<Season> page(SeasonPageDTO dto);
    boolean update(SeasonUpdateDTO dto);
    boolean delete(Long id);
    boolean deleteBatch(List<Long> ids);

}
